import 'package:get/get.dart';
import 'package:yysk_app/pages/login/login_binding.dart';
import 'package:yysk_app/pages/login/login_page.dart';
import 'package:yysk_app/pages/login/forgot_password_page.dart';
import 'package:yysk_app/pages/my_webview/my_webview_for_app_page.dart';
import 'package:yysk_app/pages/my_webview/my_webview_page.dart';
import 'package:yysk_app/pages/show_image/show_image_page.dart';
import 'package:yysk_app/pages/welcome/welcome_page.dart';
import 'package:yysk_app/routes/routes_path/mall_pages_routers.dart';
import 'package:yysk_app/routes/routes_path/nft_pages_routes.dart';
import 'package:yysk_app/routes/routes_path/main_pages_routes.dart';

import '../../pages/nft_pages/wallet_pages/enterprise_auth_zhifu/my_webview_zhifu_page.dart';
import '../../pages/nft_pages/wallet_pages/enterprise_auth_zhifu/my_webview_zhifu_pay.dart';
import '../../pages/nft_pages/wallet_pages/enterprise_auth_zhifu/my_webview_zhifu_user_page.dart';

class Routes {
  const Routes._();

  static const init = WelcomePage.path;

  static final routes = [
    GetPage(name: WelcomePage.path, page: () => const WelcomePage()),
    GetPage(
      name: LoginPage.path,
      page: () => LoginPage(),
      binding: LoginBinding(),
    ), //登录
    GetPage(
      name: ForgotPasswordPage.path,
      page: () => ForgotPasswordPage(),
      binding: LoginBinding(),
    ), //忘记密码
    //webview页面适配h5
    GetPage(name: MyWebViewPage.path, page: () => const MyWebViewPage()),
    //智付企业开通页面
    GetPage(
      name: MyWebViewZhifuPage.path,
      page: () => const MyWebViewZhifuPage(),
    ),
    //智付个人钱包页面
    GetPage(
      name: MyWebViewZhifuUserPage.path,
      page: () => const MyWebViewZhifuUserPage(),
    ),
    //智付支付页面
    GetPage(
      name: MyWebViewZhifuPayPage.path,
      page: () => const MyWebViewZhifuPayPage(),
    ),

    //webview页面适配app 权限处理
    GetPage(
      name: MyWebViewForAppPage.path,
      page: () => const MyWebViewForAppPage(),
    ),
    //跳转页面图片
    GetPage(name: ShowImagePage.path, page: () => const ShowImagePage()),
    ...MainPagesRoutes.pages,
    ...NftPagesRoutes.pages,
    ...MallPagesRouters.pages,
  ];
}
